package com.zhiyou100.entity;


import java.io.Serializable;
import java.util.Date;


/**
 * @author yang
 */
public class Note implements Serializable {

    private Integer nid;
    private String ncontent;
    private Integer uid;
    private Integer tid;
    private Date ntime;
    private Integer nzan;
    private Integer nxu;

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public String getNcontent() {
        return ncontent;
    }

    public void setNcontent(String ncontent) {
        this.ncontent = ncontent;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getTid() {
        return tid;
    }

    public void setTid(Integer tid) {
        this.tid = tid;
    }

    public Date getNtime() {
        return ntime;
    }

    public void setNtime(Date ntime) {
        this.ntime = ntime;
    }

    public Integer getNzan() {
        return nzan;
    }

    public void setNzan(Integer nzan) {
        this.nzan = nzan;
    }

    public Integer getNxu() {
        return nxu;
    }

    public void setNxu(Integer nxu) {
        this.nxu = nxu;
    }

    @Override
    public String toString() {
        return "Note{" +
                "nid=" + nid +
                ", ncontent='" + ncontent + '\'' +
                ", uid=" + uid +
                ", tid=" + tid +
                ", ntime=" + ntime +
                ", nzan=" + nzan +
                ", nxu=" + nxu +
                '}';
    }

    public Note(Integer nid, String ncontent, Integer uid, Integer tid, Date ntime, Integer nzan, Integer nxu) {
        this.nid = nid;
        this.ncontent = ncontent;
        this.uid = uid;
        this.tid = tid;
        this.ntime = ntime;
        this.nzan = nzan;
        this.nxu = nxu;
    }

    public Note() {
    }


}
